package org.linlinjava.litemall.admin.beans.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import lombok.Data;

/**
 * 商品属性dto
 * @author ：lilu
 * @description：TODO
 */
@Data
public class GoodsPropertyDto {

	private Integer id;
	@NotNull
    private Integer goodsId;
	//属性名称
	@NotBlank
    private String name;
    //属性值数组
	@NotNull
	@Size(min = 1)
    private String[] values;
	//排序
	private Integer sort;

	//默认选中
	private String isDefault;
    
 
}
